package com.aiti.lulian.entity.newCard;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 新版名片小程序-管理员端
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "列表字段配置实体")
@TableName("card_admin_list_field_config")
public class CardAdminListFieldConfig {

    @ApiModelProperty(name = "ID")
    @TableId(type = IdType.INPUT, value = "base_id")
    private String baseId;

    @ApiModelProperty(name = "字段名（英文）")
    @TableField("field_name_en")
    private String fieldNameEn;

    @ApiModelProperty(name = "字段名（中文）")
    @TableField("field_name_ch")
    private String fieldNameCh;

    @ApiModelProperty(name = "排序")
    @TableField("sort")
    private Integer sort;

    /**
     * 0否 1是
     */
    @ApiModelProperty(name = "是否显示")
    @TableField("is_show")
    private Integer isShow;

    @ApiModelProperty(name = "创建者")
    @TableField("creator")
    private String creator;

    @ApiModelProperty(name = "创建时间")
    @TableField(value = "base_create_time")
    private Date baseCreateTime;

    @ApiModelProperty(name = "更新时间")
    @TableField(value = "base_update_time")
    private Date baseUpdateTime;
}
